﻿using System.Collections.Generic;
using Ue.Infrastructure.RepositoryFramework;
using Ue.Qcdz.Domain.Roles;

namespace Ue.Qcdz.Domain.Permissions
{
    public interface IPermissionsRepository : IRepository<Permission>
    {
        Permission FindBy(string permissionsName);

        IList<Permission> FindBy(Role role);

        void Delete(Role role);
    }
}
